package com.zy.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zy.domain.Member;

public interface MemberService extends IService<Member> {
  /**
   * 注册成为会员
   * @param id
   * @param memberLevel
   * @param memberType
   * @return
   */
  Member becomeMember(String id, Integer memberLevel, Integer memberType);

  /**
   * 通过uid查询会员
   * @param uid
   * @return
   */
  Member  selectMemberByUid(String uid);
}
